<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>搜索-月薪过4万</title>
    <!-- 引入mui的样式 -->
    <link rel="stylesheet" href="./assets/mui/css/mui.css">
    <!-- 引入fontawesome -->
    <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">
    <!-- 公共样式 -->
    <link rel="stylesheet" href="./css/common.css">
    <!-- 首页 自己的样式 -->
    <link rel="stylesheet" href="./css/search.css">
</head>

<body>
    <!-- 头部 -->
    <header id="lt_header" class="mui-bar mui-bar-nav">
        <h1 class="mui-title">搜索中心</h1>
        <!-- <a class="mui-icon mui-icon-bars mui-pull-right"></a> -->
        <a href="javascript:;" class="mui-action-back fa fa-arrow-left h_left"></a>
    </header>
    <!-- 内容 -->
    <div class="lt_view">
        <!-- 搜索按钮 -->
        <div class="search_form">
            <input id="search_inp" placeholder="搜索你喜欢的商品" type="text">
            <button id="search_btn">搜索</button>
        </div>
        <!-- 搜索历史 -->
        <div class="history_list">
            <div class="history_title">
                <span>搜索历史</span>
                <a href="javascript:;" class="clear_btn">
                    <span class="fa fa-trash-o"></span>
                    清空记录
                </a>
            </div>
            <div class="history_content"></div>
        </div>
    </div>
    <!-- 尾部 -->
    <div class="lt_footer">
        <a href="javascript:;">
            <span class="fa fa-home"></span>
            <div class="link_name">首页</div>
        </a>
        <a href="./category.html">
            <span class="fa fa-bars"></span>
            <div class="link_name">分类</div>
        </a>
        <a href="javascript:;">
            <span class="fa fa-cart-plus"></span>
            <div class="link_name">购物车</div>
        </a>
        <a href="javascript:;">
            <span class="fa fa-user"></span>
            <div class="link_name">会员中心</div>
        </a>
    </div>

    <!-- 模板 -->
    <script id="mainTpl" type="text/html">
        <ul>
            {{each arr value index}}
            <li>
                <span class="his_name">{{value}}</span>
                <a href="javascript:;" class="remove_btn"><span class="fa fa-remove"></span></a>
            </li>
            {{/each}}
        </ul>
    </script>

</body>
<!-- mui js  不依赖其他 -->
<!-- bootstrap- 基于jquery -->
<script src="./assets/mui/js/mui.js"></script>
<!-- 模板 -->
<script src="./assets/arttemplate/template-web.js"></script>
<!-- zepto 方面我们自己开发 -->
<script src="./assets/zepto/zepto.js"></script>
<!-- 公共的js common.js -->
<script src="./js/common.js"></script>
<!-- 自己的js index.js -->
<script src="./js/search.js"></script>

</html>